import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;

/**
 * @ClassName Demo07_FISConstructor
 * @Description FileInputStream 类构造方法
 * @Author Li
 * @Date 2022/8/11 12:34
 * @ModifyDate 2022/8/11 12:34
 * @Version 1.0
 */
public class Demo07_FISConstructor {
    public static void main(String[] args) throws IOException {
        // 使用File对象创建流对象
        File file = new File("src/part09/ch02_ByteStream/a.txt");
        FileInputStream fis = new FileInputStream(file);

        // 使用文件名称创建流对象
        FileInputStream fis2 = new FileInputStream("src/part09/ch02_ByteStream/b.txt");
    }
}
